//
//  SliderTableViewCell.m
//  League
//
//  Created by JackChen on 2018/2/19.
//  Copyright © 2018年 ciyuanjuzhen. All rights reserved.
//

#import "SliderTableViewCell.h"
#import "HYSlider.h"

@interface SliderTableViewCell ()<HYSliderDelegate>

@end

@implementation SliderTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    HYSlider *slider1 = [[HYSlider alloc] initWithFrame:CGRectMake(0, 50, kScreenWidth - 100, 15)];
    slider1.currentValueColor = kAppColor;
    slider1.maxValue = 100;
    slider1.currentSliderValue = 22;
    slider1.showTextColor = kAppColor;
    slider1.showTouchView = YES;
    slider1.showScrollTextView = YES;
    slider1.touchViewColor = kAppColor;
    slider1.delegate = self;
    slider1.tag = 200;
    [self.sliderContentView addSubview:slider1];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
